/**
 * http://www.jootu.net
 */
package com.jootu.cc.ccapi.domain.resultmap;


/**
*@author:antch
*@date:2017年8月10日
*@Description:（接口返回结果）
*
*/
public class JsonResult {
	
	/*
	 * 请求返回的代码
	 */
	private int code = 0;
	
	/*
	 * 请求返回的信息
	 */
	private String mess = null;

	/*
	 * 处理过程时间
	 */
	private Long processTime = 0L;
	
	/*
	 * 数据
	 */
	private Object result = null;

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @return the processTime
	 */
	public Long getProcessTime() {
		return processTime;
	}

	/**
	 * @param processTime the processTime to set
	 */
	public void setProcessTime(Long processTime) {
		this.processTime = processTime;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the mess
	 */
	public String getMess() {
		return mess;
	}

	/**
	 * @param mess the mess to set
	 */
	public void setMess(String mess) {
		this.mess = mess;
	}

	/**
	 * @return the result
	 */
	public Object getResult() {
		return result;
	}

	/**
	 * @param result the result to set
	 */
	public void setResult(Object result) {
		this.result = result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "JsonResult [code=" + code + ", mess=" + mess + ", processTime=" + processTime + ", result=" + result
				+ "]";
	}
	
	
}
